package com.bloody.android.Characters;

import android.content.Context;

import com.bloody.android.BloodyCrusadeView;


public class CharacterFactory {
	
	private static enum types {ichigo, naruto, gaara, mustang, kakashi};
	
	private CharacterFactory(){}
	
	public static Character getInstance(String type, int player, BloodyCrusadeView bcgView, Context context)
	{
		Character instance = null;
    	switch (types.valueOf(type.toLowerCase()))
    	{
    		case ichigo :
    			instance = new Ichigo(player);
    			break;
    		case naruto :
    			instance = new Naruto(player);
    			break;
    		case gaara :
    			instance = new Gaara(player);
    			break;
    		case mustang :
    			instance = new Mustang(player);
    			break;
    		case kakashi :
    			instance = new Kakashi(player);
    			break;
    		default :
    			break;
    	}
    	return instance;
	}

}
